home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
More Anime Pin-Up Beauties
/
More Anime Pin-Up Beauties.iso
/
pc
/
east
/
gpx05.dir
/
00202_Script_202
< prev
next >
Wrap
Text File
|
1998-06-22
|
3KB
|
161 lines
-- For EXAM
-- ++++++++++++++++++++++++++++++++ initialize of EXAMINATION
on initEXM
global gPathItem
global gEXMscore
global gEXMnum
cursor 4
put 0 into gEXMscore
put 1 into gEXMnum
chgScene("PL-000", the frame + 1, gPathItem & "BGC00")
-- Wait Slider
puppetSprite 22,TRUE
set the locV of sprite 22 to 120
upDateStage
dispQQQ()
aiffSound(6)
startTimer
cursor -1
-- ++++++++++++++++++++++++++++++++ termination of EXAM BOX(MENU)
on termEXM
cursor 4
clrPicture("EXM.QQQ")
repeat with n = 2 to 24
puppetSprite n, FALSE
end repeat
go to frame "000"
-- ++++++++++++++++++++++++++++++++ display Question of EXAM BOX
on dispQQQ
global gPathItem
global gEXMnum
cursor 4
if gEXMnum < 10 then
getPicture(the number of cast "EXM.QQQ" ,gPathItem & "BGC0" & string(gEXMnum))
else
getPicture(the number of cast "EXM.QQQ" ,gPathItem & "BGC" & string(gEXMnum))
end if
cursor -1
-- ++++++++++++++++++++++++++++++++ display SCORE of EXAM BOX(0-90)
on dispSCORE
global gPathItem
global gEXMscore
cursor 4
if gEXMscore < 10 then
getPicture(the number of cast "EXM.QQQ" ,gPathItem & "BGD0" & string(gEXMscore))
else
getPicture(the number of cast "EXM.QQQ" ,gPathItem & "BGD" & string(gEXMscore))
end if
cursor -1
aiffSound(2)
-- ++++++++++++++++++++++++++++++++ set position of TIMER gage
on placeTimGage2
put (the timer / 15) into vPos
if vPos > 320 then
chkEXM()
exit
end if
puppetSprite 22,TRUE
set the locV of sprite 22 to (120 + vPos)
-- ++++++++++++++++++++++++++++++++ Answer Box clicked
on clickANS vN
global gEXMnum
global gEXMscore
put item vN of (line gEXMnum of field "EXM.LIST") into vA
if vA = "0" then
exit
end if
if vA = "1" then
put gEXMscore + 1 into gEXMscore
cursor 4
puppetSound "PING"
upDateStage
else
cursor 4
puppetSound "BUZ"
upDateStage
end if
put the timer + 60 into vT
repeat while (the timer < vT)
--
end repeat
cursor -1
if gEXMnum < 10 then
put gEXMnum + 1 into gEXMnum
dispQQQ()
exit
else
chkEXM()
end if
-- ++++++++++++++++++++++++++++++++ check SCORE of EXAM BOX(time up or answed)
on chkEXM
global gEXMscore
cursor 4
repeat with n = 2 to 24
puppetSprite n, FALSE
end repeat
if gEXMscore < 10 then
go to frame "EXMNG"
exit
else
go to frame "EXM100"
exit
end if
-- ++++++++++++++++++++++++++++++++ initialize of complete
on completeEXMinit
global gPathItem
cursor 4
puppetSound "FAN"
upDateStage
startTimer
repeat while the timer < 300
--
end repeat
chgScene("PL-000", the frame + 1, gPathItem & "BGD10")
cursor -1
on completeEXMloop
if the timer < 300 then
go to the frame
end if